<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>

	<body>
		<script src="../../plugins/jQuery/jquery-2.2.3.min.js"></script>
		<script>
			$.ajax({
				type: "post",
				url: "/customer/insert",
				async: true,
				data: {
					"customer_name": "上海羽达兰商贸有限公司",
					"contact_name": "霍建华",
					"phone": "021-77650001",
					"address": "上海虹口水电路682号1201",
					"province": "",
					"city": "",
					"sale_employee_id": "8",
					"credit_limit": "80000",
				},
				success: function(data) {
					console.log(data);
				},
				error: function(data) {
					console.log(data);
				}

			});
		</script>
	</body>

</html>